package com.fc.redap.service.impl;

import com.fc.redap.dao.BaseDao;
import com.fc.redap.dao.ProjectBookedUserZoneDao;
import com.fc.redap.entity.ProjectBookedUserZoneEntity;
import com.fc.redap.exception.ResponseException;
import com.fc.redap.service.IProjectBookedUserZoneService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("projectBookedUserZoneService")
public class ProjectBookedUserZoneServiceImpl extends BaseServiceImpl<ProjectBookedUserZoneEntity> implements IProjectBookedUserZoneService {

    @Autowired
    ProjectBookedUserZoneDao projectBookedUserZoneDao;

    @Override
    public BaseDao getDao()
    {
        return projectBookedUserZoneDao;
    }

    @Override
    public void deleteByBookId(Long bookId) {
        projectBookedUserZoneDao.deleteByBookId(bookId);
    }

    @Override
    public void save(ProjectBookedUserZoneEntity bookedUserZoneEntity) throws ResponseException {
    }

}
